package com.gitee.wsl.compose.mvi.modifiable.interactable

import androidx.compose.ui.Modifier
import com.gitee.wsl.compose.mvi.modifiable.Modifiable


interface InteractableModifier : Modifiable {
    infix fun then(other: InteractableModifier): InteractableModifier =
        if (other === InteractableModifier) this else CombinedInteractableModifier(this, other)

    companion object : InteractableModifier {
        override val modifier: Modifier = Modifier
    }
}